package com.kuhnwei.examples.patterns.template;

/**
 * Created by Kuhn on 2017/8/15.
 */
public class Pig extends Action {
    @Override
    public void eat() {
        System.out.println("猪在进食。");
    }

    @Override
    public void sleep() {
        System.out.println("猪在睡觉。");
    }

    @Override
    public void work() {

    }
}
